
cmake_minimum_required(VERSION 2.8)

project(MySTL)

# set(DequeTest.cpp
#     NormalTest.cpp
#      SRC_LIST)

# set(${CMAKE_CURRENT_SOURCE_DIR}../mystl/Realize/AllocMy.cpp alloc_SRC)

aux_source_directory(./ SRC_LIST)
aux_source_directory(../mystl/Realize/ Realize_SRC)


set(CMAKE_CXX_FLAGS "-g -std=c++11 ${CMAKE_CXX_FLAGS}")
set(CMAKE_C_FLAGS "-g ${CMAKE_C_FLAGS}")
message(STATUS "CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
message(STATUS "CMAKE_C_FLAGS: ${CMAKE_C_FLAGS}")

# message(STATUS "CMAKE_CURRENT_SOURCE_DIR: ${CMAKE_CURRENT_SOURCE_DIR}")

add_executable(test.out ${SRC_LIST} ${Realize_SRC})